<template>
	<view class="container">
		<!-- 基础组件 -->
		<es-cell-list title="导航">
			<es-cell-item title="单元格" @click="toPage('/pages/basic/cell')"></es-cell-item>
			<es-cell-item title="异形选项卡" @click="toPage('/pages/basic/tabs')"></es-cell-item>
		</es-cell-list>
		
		<es-cell-list title="数据">
			<es-cell-item title="文件上传" @click="toPage('/pages/basic/upload')"></es-cell-item>
		</es-cell-list>
		
	</view>
</template>

<script>
	export default {
		onShareTimeline() {
			return {
				title: 'Edison组件库',
				imageUrl: "/static/images/logo.png",
			}
		},
		onShareAppMessage() {
			return {
				title: 'Edison组件库',
				imageUrl: "/static/images/logo.png",
			}
		},
		methods:{
			toPage(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style>
</style>